﻿using System;

namespace OrionApplication.OrionLib
{
    public class OrionUser : ClasseBase
    {
        public String Nom { get; set; }
        public String Prenom { get; set; }
        public String Login { get; set; }
        public String Password { get; set; }
        public Int32 OrionMenuId { get; set; }
        public Int32 OrionGroupId { get; set; }
        public String NomLong { get { return this.Nom + " " + this.Prenom; } }

        public OrionUser()
            : base()
        {
            this.Nom = string.Empty;
            this.Prenom = string.Empty;
            this.Login = string.Empty;
            this.Password = string.Empty;
            this.OrionMenuId = 0;
            this.OrionGroupId = 0;
        }
    }
}
